package com.gjintel.workflow.trade.service;

import org.activiti.engine.runtime.Execution;

public interface INBExecutionService {
	/**
	 * 发送通知、修改项目状态
	 * @param execution
	 * @param status
	 */
	public void editNoticeAndStatus(Execution execution,Integer status);
	
	/**
	 * 判断是否流标
	 * @param execution
	 */
	public void isFlowBidTaskService(Execution execution);
	
	/**
	 * 生成中标公示
	 * @param execution
	 * @param isOverTime 是否超时
	 */
	public void publishHitPublicity(Execution execution,Boolean isOverTime);
	
	/**
	 * 生成/生成发布流标公示
	 * @param execution
	 * @param isDisplay 是否显示发布公示
	 */
	public void publishFlowPublicity(Execution execution,Boolean isDisplay);
	
	/**
	 * 显示流标或中标公示
	 * @param execution
	 */
	public void displayPublicity(Execution execution);
	
	/**
	 * 发布竞价公示
	 * @param execution
	 */
	public void publishShotPublicity(Execution execution);
	
	/**
	 * 发布合同公示
	 * @param execution
	 */
	public void publishContractPublicity(Execution execution);
	
	/**
	 * 发布验收报告公示
	 * @param execution
	 */
	public void publishReportPublicity(Execution execution);
	
	/**
	 * 发布中/流标预生成文档
	 * @param execution
	 */
	public void publishPreDocument(Execution execution);

	/**
	 * 发布显示流标公示
     */
	public void displayPublicityNew(Execution execution);

	/**
	 * 设置采购人超时确认
	 * @param execution
     */
	public void setBuyerConfirmOvertime(Execution execution);
	
}
